home *** CD-ROM | disk | FTP | other *** search
/ J-Mac Electronics & Home Comics / J-Mac Electronics & Home Comics.iso / mac / J-MAC / G35F / G35_NANI.Dxr / 00066.ls < prev    next >
Encoding:
Text File  |  1998-01-22  |  3.5 KB  |  195 lines

  1. global i, g_no, jumplistkey, jumplistkeyz
  2.  
  3. on startMovie
  4.   set mycursor to [1, 2]
  5.   repeat with i = 11 to 19
  6.     set the cursor of sprite i to mycursor
  7.   end repeat
  8.   set jumplistkey to ["G1", "G2", "G3", "G4"]
  9.   set jumplistkeyz to ["Z1", "Z2", "Z3", "Z4"]
  10.   set volset to the soundLevel
  11.   if the soundEnabled = 0 then
  12.     set the soundEnabled to 1
  13.   end if
  14. end
  15.  
  16. on donext
  17.   if (g_no + 1) = 5 then
  18.     set g_no to 0
  19.   end if
  20.   go(getAt(jumplistkey, g_no + 1))
  21. end
  22.  
  23. on doback
  24.   if (g_no - 1) = 0 then
  25.     set g_no to 5
  26.   end if
  27.   go(getAt(jumplistkey, g_no - 1))
  28. end
  29.  
  30. on donextz
  31.   if (g_no + 1) = 5 then
  32.     set g_no to 0
  33.   end if
  34.   go(getAt(jumplistkeyz, g_no + 1))
  35. end
  36.  
  37. on dobackz
  38.   if (g_no - 1) = 0 then
  39.     set g_no to 5
  40.   end if
  41.   go(getAt(jumplistkeyz, g_no - 1))
  42. end
  43.  
  44. on doexit
  45.   sound stop 1
  46.   go("M3", "@::JMACMENU")
  47. end
  48.  
  49. on dolinktips
  50.   sound stop 1
  51.   go(1, "G33_TIPS")
  52. end
  53.  
  54. on dolinkasa
  55.   sound stop 1
  56.   go(1, "G34_ASAA")
  57. end
  58.  
  59. on crtopen
  60.   puppetSprite(7, 1)
  61.   repeat while the stillDown
  62.     set the memberNum of sprite 7 to 16
  63.     updateStage()
  64.   end repeat
  65.   set the memberNum of sprite 7 to 14
  66.   updateStage()
  67.   puppetSprite(7, 0)
  68. end
  69.  
  70. on crtclose
  71.   puppetSprite(8, 1)
  72.   repeat while the stillDown
  73.     set the memberNum of sprite 8 to 17
  74.     updateStage()
  75.   end repeat
  76.   set the memberNum of sprite 8 to 15
  77.   updateStage()
  78.   puppetSprite(8, 0)
  79. end
  80.  
  81. on crtasa
  82.   puppetSprite(9, 1)
  83.   repeat while the stillDown
  84.     set the memberNum of sprite 9 to 11
  85.     updateStage()
  86.   end repeat
  87.   set the memberNum of sprite 9 to 10
  88.   updateStage()
  89.   puppetSprite(9, 0)
  90. end
  91.  
  92. on crtlm
  93.   puppetSprite(10, 1)
  94.   repeat while the stillDown
  95.     set the memberNum of sprite 10 to 13
  96.     updateStage()
  97.   end repeat
  98.   set the memberNum of sprite 10 to 12
  99.   updateStage()
  100.   puppetSprite(10, 0)
  101. end
  102.  
  103. on crtback
  104.   puppetSprite(21, 1)
  105.   repeat while the stillDown
  106.     set the memberNum of sprite 21 to 26
  107.     updateStage()
  108.   end repeat
  109.   set the memberNum of sprite 21 to 25
  110.   updateStage()
  111.   puppetSprite(21, 0)
  112. end
  113.  
  114. on crtnext
  115.   puppetSprite(20, 1)
  116.   repeat while the stillDown
  117.     set the memberNum of sprite 20 to 24
  118.     updateStage()
  119.   end repeat
  120.   set the memberNum of sprite 20 to 23
  121.   updateStage()
  122.   puppetSprite(20, 0)
  123. end
  124.  
  125. on crtbackz
  126.   puppetSprite(21, 1)
  127.   repeat while the stillDown
  128.     set the memberNum of sprite 21 to 47
  129.     updateStage()
  130.   end repeat
  131.   set the memberNum of sprite 21 to 46
  132.   updateStage()
  133.   puppetSprite(21, 0)
  134.   puppetSprite(1, 0)
  135. end
  136.  
  137. on crtnextz
  138.   puppetSprite(20, 1)
  139.   repeat while the stillDown
  140.     set the memberNum of sprite 20 to 45
  141.     updateStage()
  142.   end repeat
  143.   set the memberNum of sprite 20 to 44
  144.   updateStage()
  145.   puppetSprite(20, 0)
  146.   puppetSprite(1, 0)
  147. end
  148.  
  149. on crtclose2
  150.   puppetSprite(22, 1)
  151.   repeat while the stillDown
  152.     set the memberNum of sprite 22 to 28
  153.     updateStage()
  154.   end repeat
  155.   set the memberNum of sprite 22 to 27
  156.   updateStage()
  157.   puppetSprite(22, 0)
  158.   puppetSprite(1, 0)
  159. end
  160.  
  161. on crtzexit
  162.   puppetSprite(22, 1)
  163.   repeat while the stillDown
  164.     set the memberNum of sprite 22 to 49
  165.     updateStage()
  166.   end repeat
  167.   set the memberNum of sprite 22 to 48
  168.   updateStage()
  169.   puppetSprite(22, 0)
  170.   puppetSprite(1, 0)
  171. end
  172.  
  173. on crtzoomin
  174.   puppetSprite(23, 1)
  175.   repeat while the stillDown
  176.     set the memberNum of sprite 23 to 30
  177.     updateStage()
  178.   end repeat
  179.   set the memberNum of sprite 23 to 29
  180.   updateStage()
  181.   puppetSprite(23, 0)
  182. end
  183.  
  184. on crtzoomout
  185.   puppetSprite(23, 1)
  186.   repeat while the stillDown
  187.     set the memberNum of sprite 23 to 51
  188.     updateStage()
  189.   end repeat
  190.   set the memberNum of sprite 23 to 50
  191.   updateStage()
  192.   puppetSprite(23, 0)
  193.   puppetSprite(1, 0)
  194. end
  195.